package level.model;

import java.util.Map;
import java.util.TreeMap;

import com.infomatiq.jsi.rtree.RTree;

public class StateTileLayer extends StateLayer
{
	public StateTileLayer(String name, int zOrder)
	{
		super(name, zOrder);
		tiles = new TreeMap<Integer, Tile>();
		tree = new RTree();
		tree.init(null);
	}

	public Map<Integer, Tile> getTiles()
	{
		return tiles;
	}
	
	public boolean isEmpty()
	{
		return tiles.isEmpty();
	}
	
	private Map<Integer, Tile> tiles;
}
